-- GENERATED SPELL FOR [Putrid Shrieker] --


function spell0_8535(pUnit, Event) --@Sonic Burst,Self--
pUnit:FullCastSpellOnTarget(8281,pUnit)
pUnit:RegisterEvent('Sorts_8535', 6263, 1)
end

function Sorts_8535(pUnit, Event)
local choix_sorts_8535 = math.random(0, 0)
if choix_sorts_8535 == 0 then
pUnit:RegisterEvent('spell0_8535', 1, 1)
end
end

function mob8535_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_8535', math.random(1500, 3000), 1)
end

function mob8535_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8535_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8535_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(8535, 1, 'mob8535_Action')
RegisterUnitEvent(8535, 2, 'mob8535_Leave')
RegisterUnitEvent(8535, 3, 'mob8535_Kill')
RegisterUnitEvent(8535, 4, 'mob8535_Die')
